/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.caresms.model;

import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

import java.util.Date;

/**
 * The base model interface for the Category_Master service. Represents a row in the &quot;sms_Category_Master&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.caresms.model.impl.Category_MasterModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.caresms.model.impl.Category_MasterImpl}.
 * </p>
 *
 * @author cc
 * @see Category_Master
 * @see com.caresms.model.impl.Category_MasterImpl
 * @see com.caresms.model.impl.Category_MasterModelImpl
 * @generated
 */
public interface Category_MasterModel extends BaseModel<Category_Master> {
	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this interface directly. All methods that expect a category_ master model instance should use the {@link Category_Master} interface instead.
	 */

	/**
	 * Returns the primary key of this category_ master.
	 *
	 * @return the primary key of this category_ master
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this category_ master.
	 *
	 * @param primaryKey the primary key of this category_ master
	 */
	public void setPrimaryKey(long primaryKey);

	/**
	 * Returns the cat ID of this category_ master.
	 *
	 * @return the cat ID of this category_ master
	 */
	public long getCatId();

	/**
	 * Sets the cat ID of this category_ master.
	 *
	 * @param CatId the cat ID of this category_ master
	 */
	public void setCatId(long CatId);

	/**
	 * Returns the country ID of this category_ master.
	 *
	 * @return the country ID of this category_ master
	 */
	public long getCountryId();

	/**
	 * Sets the country ID of this category_ master.
	 *
	 * @param countryId the country ID of this category_ master
	 */
	public void setCountryId(long countryId);

	/**
	 * Returns the cat name of this category_ master.
	 *
	 * @return the cat name of this category_ master
	 */
	@AutoEscape
	public String getCatName();

	/**
	 * Sets the cat name of this category_ master.
	 *
	 * @param CatName the cat name of this category_ master
	 */
	public void setCatName(String CatName);

	/**
	 * Returns the is active of this category_ master.
	 *
	 * @return the is active of this category_ master
	 */
	public boolean getIsActive();

	/**
	 * Returns <code>true</code> if this category_ master is is active.
	 *
	 * @return <code>true</code> if this category_ master is is active; <code>false</code> otherwise
	 */
	public boolean isIsActive();

	/**
	 * Sets whether this category_ master is is active.
	 *
	 * @param isActive the is active of this category_ master
	 */
	public void setIsActive(boolean isActive);

	/**
	 * Returns the countsms of this category_ master.
	 *
	 * @return the countsms of this category_ master
	 */
	public int getCountsms();

	/**
	 * Sets the countsms of this category_ master.
	 *
	 * @param countsms the countsms of this category_ master
	 */
	public void setCountsms(int countsms);

	/**
	 * Returns the field1 of this category_ master.
	 *
	 * @return the field1 of this category_ master
	 */
	@AutoEscape
	public String getField1();

	/**
	 * Sets the field1 of this category_ master.
	 *
	 * @param field1 the field1 of this category_ master
	 */
	public void setField1(String field1);

	/**
	 * Returns the field2 of this category_ master.
	 *
	 * @return the field2 of this category_ master
	 */
	public boolean getField2();

	/**
	 * Returns <code>true</code> if this category_ master is field2.
	 *
	 * @return <code>true</code> if this category_ master is field2; <code>false</code> otherwise
	 */
	public boolean isField2();

	/**
	 * Sets whether this category_ master is field2.
	 *
	 * @param field2 the field2 of this category_ master
	 */
	public void setField2(boolean field2);

	/**
	 * Returns the field3 of this category_ master.
	 *
	 * @return the field3 of this category_ master
	 */
	public int getField3();

	/**
	 * Sets the field3 of this category_ master.
	 *
	 * @param field3 the field3 of this category_ master
	 */
	public void setField3(int field3);

	/**
	 * Returns the field4 of this category_ master.
	 *
	 * @return the field4 of this category_ master
	 */
	public Date getField4();

	/**
	 * Sets the field4 of this category_ master.
	 *
	 * @param field4 the field4 of this category_ master
	 */
	public void setField4(Date field4);

	/**
	 * Returns the field5 of this category_ master.
	 *
	 * @return the field5 of this category_ master
	 */
	@AutoEscape
	public String getField5();

	/**
	 * Sets the field5 of this category_ master.
	 *
	 * @param field5 the field5 of this category_ master
	 */
	public void setField5(String field5);

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public Serializable getPrimaryKeyObj();

	public void setPrimaryKeyObj(Serializable primaryKeyObj);

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(Category_Master category_Master);

	public int hashCode();

	public CacheModel<Category_Master> toCacheModel();

	public Category_Master toEscapedModel();

	public String toString();

	public String toXmlString();
}